<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
<c:set var="sub_grant_code"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>

<div class="t_bar"><span class="color_red">*</span>最近三年相关财务指标（单位：万元）</div>
<table class="table01 t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="budgets">
	<tr>
	<th  align="center" nowrap="nowrap" colspan="3">财务指标</th>
	<th  align="center" nowrap="nowrap">前年</th>
	<th  align="center" nowrap="nowrap">去年</th>
	<th  align="center" nowrap="nowrap">最近一期</th>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" rowspan="2">主营业务收入</td>
	    <td  align="center" nowrap="nowrap" >金额</td>
		<td align="center">
			<input name="budget/invest_detail/budget1"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget1" />" />
			<input name="budget1" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=3]/income_main" />"> 
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget2"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget2" />" /> 
			<input name="budget2" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/income_main" />"> 
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget3"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget3" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" >增长率（%）</td>
		<td align="center">
			<input name="budget/invest_detail/budget4"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget4" />" /> 
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget5"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget5" />" />
			<input name="budget5" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=5]/income_main" />">  
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget6"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget6" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" rowspan="2">净利润</td>
	    <td  align="center" nowrap="nowrap" >金额</td>
		<td align="center">
			<input name="budget/invest_detail/budget7"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget7" />" />
			<input name="budget7" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=3]/proft" />">  
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget8"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget8" />" />
			<input name="budget8" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/proft" />">   
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget9"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget9" />" />
			<input name="budget9" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=1]/proft" />">   
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" >增长率（%）</td>
		<td align="center">
			<input name="budget/invest_detail/budget10"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget10" />" /> 
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget11"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget11" />" />
			<input name="budget11" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=5]/proft" />">   
		</td>
		<td align="center">
			<input name="budget/invest_detail/budget12"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget12" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年度总收入</td>
	    <td align="center">
			<input name="budget/invest_detail/budget13"  type="text" id="budget13"  onchange="yanfaPercent()"
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget13" />" />
			<input name="budget13" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/income" />">    
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年度主营业务收入</td>
	    <td align="center">
			<input name="budget/invest_detail/budget14"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget14" />" />
			<input name="budget14" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/income_main" />">   
		</td>
	
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年度研发经费投入</td>
	    <td align="center">
			<input name="budget/invest_detail/budget15" id="budget15" type="text"  onchange="yanfaPercent()"
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget15" />" /> 
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >研发经费投入占总收入比例（%）</td>
	    <td align="center">
			<input name="budget/invest_detail/budget16"  type="text"  id="budget16"
					class="input_text gray" disabled  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget16" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年度主营业务成本</td>
	    <td align="center">
			<input name="budget/invest_detail/budget17"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget17" />" /> 
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年度毛利润</td>
	    <td align="center">
			<input name="budget/invest_detail/budget18"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget18" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年度毛利率（%）</td>
	    <td align="center">
			<input name="budget/invest_detail/budget19"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget19" />" /> 
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年度净利润</td>
	    <td align="center">
			<input name="budget/invest_detail/budget20"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget20" />" />
			<input name="budget20" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/proft" />">   
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年度净资产</td>
	    <td align="center">
			<input name="budget/invest_detail/budget21"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget21" />" /> 
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年度净资产收益率（%）</td>
	    <td align="center">
			<input name="budget/invest_detail/budget22"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,2,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget22" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年末资产总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget23"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget23" />" />
			<input name="budget23" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/assets" />">   
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年末固定资产总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget24"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget24" />" />
			<input name="budget24" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/assets_fixed" />">   
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年末流动资产总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget25"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget25" />" /> 
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年末负债总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget26"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget26" />" />
		    <input name="budget26" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/liabilities" />">    
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" colspan="2" >上年末流动负债总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget27"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget27" />" /> 
		</td>
		<td  align="center" nowrap="nowrap" colspan="2" >上年末长期负债总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget28"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget28" />" /> 
		</td>
	</tr>
	<tr>
	    <td  align="center" nowrap="nowrap" rowspan="5">企业上年度完税情况</td>
	    <td  align="center" nowrap="nowrap" >增值税</td>
	    <td align="center">
			<input name="budget/invest_detail/budget29" id="detail_budget_29" type="text" onchange="countFundAuto('detail_budget_','35,33,31,29','42')"
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget29" />" /> 
		 <input name="budget29" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/fax_added" />">    
		</td>
		<td  align="center" nowrap="nowrap" rowspan="6">上年现金流</td>
	    <td  align="center" nowrap="nowrap" >经营活动现金流入总额</td>
	     <td align="center">
			<input name="budget/invest_detail/budget30"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget30" />" />
			<input name="budget30" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/caseflow_active_in" />">  
		</td>
	</tr>
	<tr>
	   
	    <td  align="center" nowrap="nowrap" >企业所得税</td>
	    <td align="center">
			<input name="budget/invest_detail/budget31" id="detail_budget_31" type="text" onchange="countFundAuto('detail_budget_','35,33,31,29','42')"
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget31" />" /> 
			<input name="budget31" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/fax_income" />">  
			 
		</td>
		 <td  align="center" nowrap="nowrap" >经营活动现金流出总额</td>
	     <td align="center">
			<input name="budget/invest_detail/budget32"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget32" />" /> 
			<input name="budget32" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/caseflow_active_out" />">  
		</td>
	</tr>
	<tr>
	   
	    <td  align="center" nowrap="nowrap" >个人所得税</td>
	    <td align="center">
			<input name="budget/invest_detail/budget33" id="detail_budget_33" type="text" onchange="countFundAuto('detail_budget_','35,33,31,29','42')"
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget33" />" /> 
			<input name="budget33" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/fax_personal" />">
		</td>
		 <td  align="center" nowrap="nowrap" >经营活动现金流量净额</td>
	     <td align="center">
			<input name="budget/invest_detail/budget34"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget34" />" /> 
		<input name="budget34" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/caseflow_active" />">  
			
		</td>
	</tr>
	<tr>
	   
	    <td  align="center" nowrap="nowrap" >其它税</td>
	    <td align="center">
			<input name="budget/invest_detail/budget35" id="detail_budget_35" type="text"  onchange="countFundAuto('detail_budget_','35,33,31,29','42')" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget35" />" /> 
			<input name="budget35" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/fax_other" />">
		</td>
		 <td  align="center" nowrap="nowrap" >总现金流入总额</td>
	     <td align="center">
			<input name="budget/invest_detail/budget36"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget36" />" /> 
		</td>
	</tr>
	<tr>
	   
	    <td  align="center" nowrap="nowrap" >合计</td>
	    <td align="center">
			<input name="budget/invest_detail/budget42" id="detail_budget_42"  type="text" 
					class="input_text gray" disabled  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget42" />" /> 
		</td>
		 <td  align="center" nowrap="nowrap" >总现金流出总额</td>
	     <td align="center">
			<input name="budget/invest_detail/budget37"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget37" />" /> 
		</td>
	</tr>
	<tr>
	   
	    <td  align="center" nowrap="nowrap" colspan="2">企业上年度退免税总额</td>
	    <td align="center">
			<input name="budget/invest_detail/budget38"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget38" />" /> 
		</td>
		 <td  align="center" nowrap="nowrap" >总现金流量净额</td>
	     <td align="center">
			<input name="budget/invest_detail/budget39"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget39" />" /> 
		<input name="budget39" type="hidden" value="<x:out select="$xmlData/data/organization/finances/finance[@sequence_no=2]/caseflow" />">
		</td>
	</tr>
	<tr>
	   
	    <td  align="center" nowrap="nowrap" colspan="2">预计下年度销售收入</td>
	    <td align="center">
			<input name="budget/invest_detail/budget40"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,4,2)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget40" />" /> 
		</td>
		 <td  align="center" nowrap="nowrap" colspan="2">预计下年度新增专利数（件）</td>
	     <td align="center">
			<input name="budget/invest_detail/budget41"  type="text" 
					class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,0,0)"
					value="<x:out select="$xmlData/data/budget/invest_detail/budget41" />" /> 
		</td>
	</tr>
</table>
<br>
<div class="t_bar"><span class="color_red">*</span>主要产品/服务</div>
<table class="table01" width="100%" border="0" cellpadding="0" id="tblfinancialplans" cellspacing="1">
    <thead>
		<tr>
			<th class="TblHead" nowrap align="center" width="5%">选择</th>
			<th class="TblHead" nowrap align="center" width="5%">序号</th>
			<th class="TblHead" nowrap align="center" width="30%">产品名称</th>
			<th class="TblHead" nowrap align="center" width="50%">产品用途 </th>
			<th class="TblHead" align="center" width="10%">产品上年销售收入（万元） </th>
			
		</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center" width="5%">
						<input type="radio" class="radiobutton" name="selfinancialplans" >
						</td>
						<td align="center" width="5%">
						<span name="financialplans|financialplan[0]@seq_no" >[index]</span>
						</td>
						<td style="text-align:center;" width="30%">
						<input type="text" size="50" name="financialplans|financialplan[0]|name" class="input_text required" maxlength=100 label="产品名称" value="" />
						</td>
						<td style="text-align:center;" width="50%">
						<input type="text" size="70" name="financialplans|financialplan[0]|use" class="input_text required" maxlength=200 label="产品用途" value="" />
						</td>
						<td style="text-align:center;" width="10%">
						<input type="text"  name="financialplans|financialplan[0]|money" class="input_text required" style="text-align:right;width:100px"  
						label="产品上年销售收入" value="" onfocus="InitInput.setNumber(this,7,4,2)"/>
						</td>
						
					</tr>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/financialplans/financialplan" var="financialplan">
					<c:choose>
						<c:when test="${index<10}" >
						<c:set value="0" var="flag" scope="page"/>
						</c:when>
						<c:otherwise>
						<c:set value="" var="flag" scope="page"/>
						</c:otherwise>
					</c:choose>
					<tr>
						<td align="center" width="5%">
						<input type="radio" class="radiobutton" name="selfinancialplans" >
						</td>
						<td align="center" width="5%">
						<span name="financialplans/financialplan[${flag}${index}]@seq_no" >${index+1}</span>
						</td>
						<td style="text-align:center;" width="30%">
						<input type="text"  name="financialplans/financialplan[${flag}${index}]/name" class="input_text required" 
						maxlength=100 label="产品名称"  size="50" value="<x:out select="$financialplan/name" />" />
						</td>
						<td style="text-align:center;" width="50%">
						<input type="text"  name="financialplans/financialplan[${flag}${index}]/use" class="input_text required" 
						maxlength=200 label="产品用途"  size="70" value="<x:out select="$financialplan/use" />" />
						</td>
						<td style="text-align:center;" width="10%">
						<input type="text"  name="financialplans/financialplan[${flag}${index}]/money" 
						class="input_text required" label="使用金额" style="text-align:right;width:100px" 
						onfocus="InitInput.setNumber(this,7,4,2)" value="<x:out select="$financialplan/money" />" />
						</td>
						
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
			</table>
			
			<br>
			<table width="98%" align="center">
				<tr>
					<td>
					
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="addNewRow('tblfinancialplans');">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblfinancialplans','selfinancialplans')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblfinancialplans','selfinancialplans')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblfinancialplans','主要产品/服务');">
					</td>
				</tr>
	        </table>

<script>


$(function() {
  initBudgetsValue("budgets");
  countFundAuto('detail_budget_','35,33,31,29','42');
 
});
 
 function initBudgetsValue(tblName){
	  var tbl = $("#" + tblName);
	 
	  tbl.find("input[type=hidden]").each(function(){
			var id=$(this).attr("name");
			if(id==null || id=="")return true;
			var parentObj=tbl.find("[name$='/"+id+"']");
			if(parentObj.val() == null || $.trim(parentObj.val()) == ""){
				var value= $(this).val();
   			parentObj.val(value);
			}
			
		});	  
 }
 
 function yanfaPercent(){
		var budget13=$("#budget13").val();
		var budget15=$("#budget15").val();
		if(budget13!=""&&budget15!=""&&budget13!=0){
			var budget16=parseFloat(budget15)*100/parseFloat(budget13);
			budget16 = formatNumber(budget16.toString(), 9, 2, 2);// 格式化
			$("#budget16").val(budget16);	
		}
		else if (budget13==""&&budget15==""){
			$("#budget16").val("");	
		}
		else {
			$("#budget16").val("0");	
		}
		
	}
</script>